<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <link rel="stylesheet" href="./css/register.css">
</head>
<body>
<div class="register-container">
    <h2>注册</h2>
    <form action="http://localhost/kaocha/php/register.php" method="post">
        <input type="text" name="username" id="username" placeholder="用户名" required>
        <input type="password" name="password" id="password" placeholder="密码" required>
        <input type="password" name="confirmPassword" id="confirmPassword" placeholder="确认密码" required>
        <input type="email" name="email" id="email" placeholder="邮箱" required>
        <input type="text" name="school" id="school" placeholder="学校" required>
        <input type="text" name="phone" id="phone" placeholder="手机号" required>
        <input type="text" name="classRoom" id="classRoom" placeholder="班级" required>
        <button type="submit">注册</button>
    </form>
    <p>已有账号？<a href="./login.html">登录</a></p>
</div>
</body>
<script src="./js/jq.js"></script>
<script src="./js/register.js"></script>
</html>
